package com.ruoyi.project.system.driver.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 zz_driver
 * 
 * @author ruoyi
 * @date 2020-10-30
 */
public class ZzDriver extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 司机id */
    private Integer driverId;

    /** 司机姓名 */
    @Excel(name = "司机姓名")
    private String driverName;

    /** 司机电话 */
    @Excel(name = "司机电话")
    private String driverPhone;

    /** 司机身份证号 */
    @Excel(name = "司机身份证号")
    private String driverIdcard;

    /** 司机状态（在职，离职） */
    @Excel(name = "司机状态", readConverterExp = "在=职，离职")
    private String driverStatus;

    /** 司机驾驶证编号 */
    @Excel(name = "司机驾驶证编号")
    private String driverLicence;

    /** 司机驾龄 */
    @Excel(name = "司机驾龄")
    private Integer driverAge;

    public void setDriverId(Integer driverId) 
    {
        this.driverId = driverId;
    }

    public Integer getDriverId() 
    {
        return driverId;
    }
    public void setDriverName(String driverName) 
    {
        this.driverName = driverName;
    }

    public String getDriverName() 
    {
        return driverName;
    }
    public void setDriverPhone(String driverPhone) 
    {
        this.driverPhone = driverPhone;
    }

    public String getDriverPhone() 
    {
        return driverPhone;
    }
    public void setDriverIdcard(String driverIdcard) 
    {
        this.driverIdcard = driverIdcard;
    }

    public String getDriverIdcard() 
    {
        return driverIdcard;
    }
    public void setDriverStatus(String driverStatus) 
    {
        this.driverStatus = driverStatus;
    }

    public String getDriverStatus() 
    {
        return driverStatus;
    }
    public void setDriverLicence(String driverLicence) 
    {
        this.driverLicence = driverLicence;
    }

    public String getDriverLicence() 
    {
        return driverLicence;
    }
    public void setDriverAge(Integer driverAge) 
    {
        this.driverAge = driverAge;
    }

    public Integer getDriverAge() 
    {
        return driverAge;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("driverId", getDriverId())
            .append("driverName", getDriverName())
            .append("driverPhone", getDriverPhone())
            .append("driverIdcard", getDriverIdcard())
            .append("driverStatus", getDriverStatus())
            .append("driverLicence", getDriverLicence())
            .append("driverAge", getDriverAge())
            .toString();
    }
}
